package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_3_11S extends SkymobiProtocolMessage {
	int battleId;
	int turn;

	public Mmochat_3_11S() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_S_3_11);
	}

	@Override
	protected void encodeBody(SkymobiBuffer out) {
		out.putInt(battleId);
		out.putInt(turn);
	}

	public void setBattleId(int battleId) {
		this.battleId = battleId;
	}

	public void setTurn(int turn) {
		this.turn = turn;
	}

}
